<extend name="Index:index"/>
<block name="right">  
        <form class="form-horizontal" method="post" action="__URL__/update" > 
             <fieldset>
              <input type="hidden" class="input-xlarge" name="id" value="<{$get['id']}>">            
              <legend>修改用户/管理员信息</legend>    
              <div class="control-group">      
                <label class="control-label" for="input01">用户名:</label>      
                <div class="controls">        
                  <input type="text" class="input-xlarge" id="input01" name="username" value="<{$get['username']}>">        
                  <p class="help-block">字母，数字，汉字皆可</p>      
                </div>    </div>    <div class="control-group">      
                <label class="control-label" for="input02">密码：</label>      
                <div class="controls">        
                  <input type="password" class="input-xlarge" id="input02" name="password" value="<{$get['password']}>">        
                  <p class="help-block">请尽量选择数字、字母以及特殊符号结合</p>      
                </div>  
                <label class="control-label" for="input03" >管理员：</label>       
                <div class="controls">        
                  <select class="select-xlarge" id="input03" name="admin"> 
                             <if condition="$get['admin'] eq 1">
                                   <option selected>1</option>
                                   <option>0</option>
                             <else/>
                                   <option>1</option>
                                   <option selected>0</option>
                             </if>
                  </select>     
                  <p class="help-block">1代表是管理员，0代表是普通用户</p>  
                </div>     
                <div class="cotrols">
                        <input type="submit" class="btn btn-primary" value="修改"></input>
                        <input type="reset" class="btn btn-danger" value="重置"></input>
                </div>
              </div>  
             </fieldset>
         </form>
</block>